<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><?php echo $config['cfg_webname']; ?> - 用户中心</title>
    <link rel="stylesheet" type="text/css" href="__THEME_PATH__css/user_style.css"/>
</head>
<body>
<div align="center">

    <include file="Template/default/user/user_header.php"/>
    <div class="main" align="left">
        <div class="clear"></div>

        <include file="Template/default/user/user_left.php"/>
        <div class="userRight">
            <div class="userRightContent">
                <div class="yhzsBox">
                    <table width="100%" border="0" cellpadding="0">
                        <tr>
                            <td width="120"><img src="<?php if (!empty($userinfo['face'])) {
                                    echo $userinfo['face'];
                                } else {
                                    echo '__THEME_PATH__images/nophoto.png';
                                } ?>" width="100" height="100"/></td>
                            <td width="50">您好<br/>
                                积分：<br/>
                                余额：<br/>
                                操作：
                            </td>
                            <td>
                                {$userinfo['name']}<br/>
                                0<br/>
                                0<br/>
                                <a href="{:U('user/manager/user')}">修改资料</a>&nbsp;&nbsp;&nbsp;
                                <a href="/services/index.aspx?s=qqLogin&v=9882">
                                    <!--                                    <img src="/images/ico_qq.gif" width="16" height="16" alt="QQ" border="0" align="middle"/>绑定QQ登录</a>-->
                            </td>
                        </tr>
                    </table>

                </div>
                <!--                <div class="yhzsBox">-->
                <!--                    <strong>我的商铺</strong><br/>-->
                <!--                    状态：<a href="company.aspx">开通我的商铺</a><br/>-->
                <!--                    <a href="review.aspx">我的评论</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/user/weixin.aspx">微信公众管理</a>-->
                <!--                </div>-->
                <div class="yhzsBox1">我发布的信息<span><a href="infoList.aspx">更多</a></span></div>
                <?php foreach($infoList as $k => $v){?>
                <div class="infoBox">
                    <div class="title"><a href="<?php echo '/xinxi-' . $v['id'] .'.html'; ?>" target="_blank"><?php echo $v['title'];?></a>
                    </div>
                    <div class="state">
                        <span class="sWsh">
                        <?php
                            if($v['status'] == 0){
                                echo '<span class="sWsh">等待审核</span>';
                            }else if($v['status'] >= 1){
                                echo '<span class="sYsh">已通过审核</span>';
                            }

                        ?>
                        </span></div>
                    <div class="date"><?php echo $v['create_time']; ?><br><a href="{:U('User/manager/updateCreateTime',array('id'=>$v['id']))}">[更新]</a> <a
                            href="{:U('user/manager/editeInfo',array('id'=>$v['id']))}" target="_blank">[修改]</a> <a
                            href="{:U('user/manager/deleteInfo',array('id'=>$v['id']))}">[删除]</a></div>
                </div>
                <?php } ?>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
